package com.jiyun.h2303b.controller;

import com.jiyun.h2303b.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class UserController {


    @Autowired
    private UserService userService;


    @RequestMapping("change")
    public void change(int uid,String vip){
        userService.change(uid,vip);
    }
}
